﻿@model Ajax.Models.NewsAddViewModel

<h2>Add</h2>

@using (Html.BeginForm())
{
    <label>@Html.LabelFor(x => x.New.Title)</label>
    <div>@Html.TextBoxFor(x => x.New.Title)</div>
    <label>@Html.LabelFor(x => x.New.Post)</label>
    <div>@Html.TextAreaFor(x => x.New.Post)</div>
    <div><input type="submit" value="submit" /></div>
}
    